<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        function fn(x,y) {
            console.log(this)
            console.log(x + y)
        }
        fn(2,3)
        var o = {
            sss:"dddd",
            sayhi:function() {
                console.log(weeee)
            }
        }
// call打电话,调动函数的一种方式,改变函数内部this的指向,将this执行一地个参数,并传入实参,冰帝阿侬这个函数
        fn.call(o,3,4)
    </script>
</body>
</html>